package cn.edu.sjtu.literature.service;

import cn.edu.sjtu.literature.entity.User;
import cn.edu.sjtu.literature.service.exception.UserNotFoundException;
import cn.edu.sjtu.literature.service.exception.UserPasswordInvalidException;

public interface UserService {

	User authenticate(String username, String password) 
			throws UserNotFoundException, UserPasswordInvalidException;
	
}
